
package net.mappoint.s.mappoint_30;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for Location complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Location">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="LatLong" type="{http://s.mappoint.net/mappoint-30/}LatLong" minOccurs="0"/>
 *         &lt;element name="Entity" type="{http://s.mappoint.net/mappoint-30/}Entity" minOccurs="0"/>
 *         &lt;element name="Address" type="{http://s.mappoint.net/mappoint-30/}Address" minOccurs="0"/>
 *         &lt;element name="BestMapView" type="{http://s.mappoint.net/mappoint-30/}MapViewRepresentations" minOccurs="0"/>
 *         &lt;element name="DataSourceName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Location", propOrder = {
    "latLong",
    "entity",
    "address",
    "bestMapView",
    "dataSourceName"
})
public class Location {

    @XmlElement(name = "LatLong")
    protected LatLong latLong;
    @XmlElement(name = "Entity")
    protected Entity entity;
    @XmlElement(name = "Address")
    protected Address address;
    @XmlElement(name = "BestMapView")
    protected MapViewRepresentations bestMapView;
    @XmlElement(name = "DataSourceName")
    protected String dataSourceName;

    /**
     * Gets the value of the latLong property.
     * 
     * @return
     *     possible object is
     *     {@link LatLong }
     *     
     */
    public LatLong getLatLong() {
        return latLong;
    }

    /**
     * Sets the value of the latLong property.
     * 
     * @param value
     *     allowed object is
     *     {@link LatLong }
     *     
     */
    public void setLatLong(LatLong value) {
        this.latLong = value;
    }

    /**
     * Gets the value of the entity property.
     * 
     * @return
     *     possible object is
     *     {@link Entity }
     *     
     */
    public Entity getEntity() {
        return entity;
    }

    /**
     * Sets the value of the entity property.
     * 
     * @param value
     *     allowed object is
     *     {@link Entity }
     *     
     */
    public void setEntity(Entity value) {
        this.entity = value;
    }

    /**
     * Gets the value of the address property.
     * 
     * @return
     *     possible object is
     *     {@link Address }
     *     
     */
    public Address getAddress() {
        return address;
    }

    /**
     * Sets the value of the address property.
     * 
     * @param value
     *     allowed object is
     *     {@link Address }
     *     
     */
    public void setAddress(Address value) {
        this.address = value;
    }

    /**
     * Gets the value of the bestMapView property.
     * 
     * @return
     *     possible object is
     *     {@link MapViewRepresentations }
     *     
     */
    public MapViewRepresentations getBestMapView() {
        return bestMapView;
    }

    /**
     * Sets the value of the bestMapView property.
     * 
     * @param value
     *     allowed object is
     *     {@link MapViewRepresentations }
     *     
     */
    public void setBestMapView(MapViewRepresentations value) {
        this.bestMapView = value;
    }

    /**
     * Gets the value of the dataSourceName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDataSourceName() {
        return dataSourceName;
    }

    /**
     * Sets the value of the dataSourceName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDataSourceName(String value) {
        this.dataSourceName = value;
    }

}
